package com.jm.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jm.pojo.Orders;
import com.jm.pojo.dto.OrdersDto;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;
@Transactional
public interface OrderService extends IService<Orders> {
    void submit(Orders orders);

    IPage<OrdersDto> selectByCondition(Long page, Long pageSize, String number, LocalDateTime beginTime, LocalDateTime endTime);

    boolean status(Orders orders);
}
